<!DOCTYPE html>
<html>

<head>
    <title>登录</title>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <link rel="stylesheet" href="../common/layui/css/layui.css"/>
    <link rel="stylesheet" href="../common/css/login.css">
    <script src="../common/js/jquery-3.2.1.min.js"></script>

    <style>
        body {
            background-image: url("../common/images/bg_login2.png");
            background-position: center 110px;
            background-repeat: no-repeat;
            background-size: 100%;
            background-color: #f0f2f5;
        }

        .login-footer a {
            color: rgba(0, 0, 0, 0.7) !important;
        }

        .login-footer a:hover {
            color: rgba(0, 0, 0, 0.4) !important;
        }



    </style>
    <script>
        if (window != top)
            top.location.replace(location.href);
    </script>
</head>

<body>
<div class="login-wrapper">

   
    <div class=" login-body">
        <div class="layui-card">
            <div class="layui-card-header">
                <i class="layui-icon layui-icon-engine"></i>&nbsp;&nbsp;用户登录
            </div>

            <div class="layui-card-body layui-form layui-form-pane" >

                <form method="post" action="/login">

                <!-- 账号 -->
                <div class="layui-form-item">
                    <label class="layui-form-label">账号</label>
                    <div class="layui-input-block">
                        <input name="username" id="userName"  value="admin" placeholder="默认账号：admin" type="text" lay-verify="required" class="layui-input">
                    </div>
                </div>

                <!-- 密码 -->
                <div class="layui-form-item">
                    <label class="layui-form-label">密码</label>
                    <div class="layui-input-block">
                        <input name="password" id="password"  value="123" placeholder="默认密码：123" type="password" lay-verify="required" class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">

                    <label><input style="display: inline" type="checkbox" name="remember-me"/>自动登录</label>

                </div>

                <div>
                    <button type="submit" class="layui-btn layui-btn-fluid" >登 录</button>
                </div>

                </form>

            </div>
        </div>
    </div>

</div>



</body>
</html>